﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Services;
using Common;
using EntityModel;
namespace ShopWeb.Controllers
{
    public class ArticleController : Controller
    {
        #region public
        private ArticleService articleService = new ArticleService();
        #endregion

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Detail(int aid)
        {
            Article art = articleService.GetModel(aid);
            return View(art);
        }

    }
}
